<!DOCTYPE html>
<html lang="en" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div shiro:hasPermission="user:add">
<a href="/testController/add">添加用户</a>使用shrio认证，需要登录才能访问 <br/>
</div>
<div shiro:hasPermission="user:update">
<a href="/testController/update">添加修改</a>
</div>
</body>
</html>